package com.fh.controller;


import com.fh.service.IndexImgService;
import com.fh.service.ProductParamsService;
import com.fh.vo.ResultVo;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@RestController
@RequestMapping("/params")
@CrossOrigin
@Api(tags = "产品参数")
public class ProductParamsController {

@Resource
private ProductParamsService productParamsService;


@GetMapping("list-params/{productId}")
public  ResultVo selectParams(@PathVariable("productId") String productId){
    return  productParamsService.selectParams(productId);
}




}
